﻿
namespace TrackClasses
{
    //track road contains of many coordinates pairs 
    // x1y1 |  x2y2
    //  x1y1 |  x2y2
    //   x1y1 |  x2y2
    //    x1y1 |  x2y2
    //  x1y1  |  x2y2
    // x1y1  |  x2y2
    // x1y1  |  x2y2
    //...............
    //here we get a road!
    public class RoadPart
    {
        public RoadPart()
        {
        }

        public RoadPart(float X1, float Y1, float X2, float Y2)
        {
            this.X1 = X1;
            this.X2 = X2;
            this.Y1 = Y1;
            this.Y2 = Y2;
        }
                //[System.Xml.Serialization.XmlIgnore] 
        public float X1 = 0;
        public float Y1 = 0;

        public float X2 = 0;
        public float Y2 = 0;

    }
}
